#include<iostream>
using namespace std;
class A
{
public:
	A(int a = 0,  int b = 0)
		:_a(a)
		,_b(b)
	{
		cout << "A(int a = 0, int b = 0)" << endl;
	}
	~A()
	{
		cout << "~A()" << endl;
	}
private:
	int _a;
	int _b;
};
int main()
{
	A a1(1, 2);
	A* ptr1 = new A;
	delete ptr1;
	return 0;
}